home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 50
/
Volume 50 - JOGO DISK .iso
/
Games
/
money_maze.swf
/
scripts
/
frame_1
/
DoAction.as
Wrap
Text File
|
2007-09-27
|
22KB
|
812 lines
function submitScore()
{
_level0.playerScore = score;
DOGE.loadMovie(_level0.fsd);
DOGE._visible = true;
btnCover._visible = true;
btnCover.useHandCursor = false;
gotoAndStop("submitScore");
}
Array.prototype.indexOf = function(v, iStart)
{
var _loc3_ = this;
var _loc2_ = _loc3_.length;
var _loc1_ = Math.max(0,iStart);
while(_loc1_ < _loc2_)
{
if(_loc3_[_loc1_] == v)
{
return _loc1_;
}
_loc1_ = _loc1_ + 1;
}
return -1;
};
Array.prototype.lastIndexOf = function(v, iStart)
{
var _loc2_ = this;
var _loc3_ = v;
var _loc1_ = Math.min(_loc2_.length,iStart);
while(_loc1_ > 0)
{
if(_loc2_[_loc1_] == _loc3_)
{
return _loc1_;
}
_loc1_ = _loc1_ - 1;
}
return -1;
};
Array.prototype.remove = function(v)
{
var _loc2_ = this;
var _loc3_ = _loc2_.length - 1;
var _loc1_ = _loc3_;
while(_loc1_ >= 0)
{
if(_loc2_[_loc1_] == v)
{
_loc2_.splice(_loc1_,1);
}
_loc1_ = _loc1_ - 1;
}
};
Array.prototype.swap = function(iA, iB)
{
var _loc1_ = this;
var _loc2_ = _loc1_[iA];
_loc1_[iA] = _loc1_[iB];
_loc1_[iB] = _loc2_;
};
Array.prototype.highLow = function(a, b)
{
if(a == b)
{
return 0;
}
return a >= b ? 1 : -1;
};
Array.prototype.sortNumbers = function()
{
this.sort(this.highLow);
};
Array.prototype.bubbleSortOn = function(sProp)
{
var _loc2_ = this;
if(sProp == null)
{
return null;
}
var _loc3_ = _loc2_.length - 1;
while(_loc3_ >= 0)
{
var _loc1_ = 0;
while(_loc1_ < _loc3_)
{
if(_loc2_[_loc1_][sProp] > _loc2_[_loc1_ + 1][sProp])
{
_loc2_.swap(_loc1_,_loc1_ + 1);
}
_loc1_ = _loc1_ + 1;
}
_loc3_ = _loc3_ - 1;
}
};
Array.prototype.findOn = function(sName, vValue, iFrom)
{
var _loc2_ = iFrom;
var _loc3_ = this;
trace("asd");
var _loc1_ = _loc2_ == null ? 0 : _loc2_;
while(_loc1_ < _loc3_.length)
{
if(_loc3_[_loc1_][sName] == vValue)
{
return _loc1_;
}
_loc1_ = _loc1_ + 1;
}
return -1;
};
if(Array.prototype.oldSortOn == null)
{
Array.prototype.oldSortOn = Array.prototype.sortOn;
Array.prototype.sortOn = function(sField)
{
var _loc1_ = this;
if(getPublishFormat() == 5)
{
_level0.__tmp = sField;
_loc1_.sort(_loc1_.F5sortOn);
delete _level0.__tmp;
}
else
{
_loc1_.oldSortOn(sField);
}
};
Array.prototype.F5sortOn = function(oA, oB)
{
var _loc2_ = oB;
var _loc3_ = oA;
var _loc1_ = _level0.__tmp;
if(_loc3_[_loc1_] != null)
{
if(_loc3_[_loc1_] < _loc2_[_loc1_])
{
return -1;
}
if(_loc3_[_loc1_] > _loc2_[_loc1_])
{
return 1;
}
return 0;
}
if(_loc2_[_loc1_] != null)
{
return 1;
}
return 0;
};
}
Object.prototype.addListener = function(oRef)
{
var _loc1_ = this;
var _loc2_ = oRef;
if(_loc1_._listeners == null)
{
_loc1_._listeners = [_loc2_];
}
else if(_loc1_._listeners.indexOf(_loc2_) == -1)
{
_loc1_._listeners.push(_loc2_);
}
};
Object.prototype.removeListener = function(oRef)
{
var _loc1_ = this;
_loc1_._listeners.remove(oRef);
if(_loc1_._listeners.length == 0)
{
delete _loc1_._listeners;
}
};
Object.prototype.removeAllListeners = function()
{
delete this._listeners;
};
Object.prototype.sendEvent = function(sEventName)
{
var _loc3_ = this;
var _loc1_ = arguments;
var _loc2_ = _loc3_._listeners.length - 1;
while(_loc2_ >= 0)
{
_loc3_._listeners[_loc2_][sEventName](_loc1_[1],_loc1_[2],_loc1_[3],_loc1_[4],_loc1_[5],_loc1_[6],_loc1_[7],_loc1_[8],_loc1_[9],_loc1_[10],_loc1_[11],_loc1_[12],_loc1_[13],_loc1_[14],_loc1_[15]);
_loc2_ = _loc2_ - 1;
}
};
MCP = MovieClip.prototype;
if(MCP.__FXMCX == null)
{
MCP.__FXMCX = 1;
MCP.oldAttachMovie = attachMovie;
MCP.attachMovie = function(sLinkageID, sInstanceName, iDepth)
{
this.oldAttachMovie(sLinkageID,sInstanceName,iDepth);
return this[sInstanceName];
};
MCP.oldCreateEmptyMovieClip = createEmptyMovieClip;
MCP.createEmptyMovieClip = function(sInstanceName, iDepth)
{
this.oldCreateEmptyMovieClip(sInstanceName,iDepth);
return this[sInstanceName];
};
MCP.oldRemoveMovie = removeMovieClip;
MCP.removeMovieClip = function(mc)
{
var _loc1_ = mc;
if(typeof _loc1_ != "movieclip")
{
_loc1_ == this;
}
_loc1_.swapDepths(-466);
_loc1_.oldRemoveMovie();
};
}
var _waiting = false;
var _waitUntil = 0;
MovieClip.prototype.CallStackClass = function(iInterval)
{
var _loc1_ = this;
_loc1_.list = [];
_loc1_.waiting = false;
_loc1_.waitUntil = 0;
_loc1_.interval = Math.max(1,iInterval != null ? iInterval : 10);
_loc1_.maxLoops = 5;
};
_p = CallStackClass.prototype;
_p.interval = 10;
_p.maxLoops = 5;
_p.append = function(fn)
{
this.list.push(arguments);
};
_p.clear = function()
{
this.list = [];
};
_p.start = function(fnCallBack, iInterval)
{
var _loc1_ = this;
var _loc2_ = fnCallBack;
var _loc3_ = iInterval;
trace("start");
_loc1_.notify = _loc2_;
_loc1_.index = 0;
_loc1_.loops = 0;
_loc1_.count = 0;
_loc1_.active = true;
_loc1_.lastTime = getTimer();
if(typeof _loc3_ == "number" && !isNaN(_loc3_))
{
_loc1_.interval = _loc3_;
}
_loc1_.intervalID = setInterval(function(cs)
{
cs.update();
}
,_loc1_.interval,_loc1_);
if(_loc2_)
{
_loc1_.onFinish = _loc2_;
}
};
_p.wait = function(iMilliseconds)
{
this.waitFor = iMilliseconds;
this.waiting = true;
return false;
};
_p.update = function()
{
var _loc2_ = this;
var currentTime = getTimer();
var elapsed = currentTime - _loc2_.lastTime;
_loc2_.lastTime = currentTime;
if(!_loc2_.active)
{
return null;
}
if(_loc2_.waiting)
{
_loc2_.waitFor -= elapsed;
if(_loc2_.waitFor > 0)
{
return null;
}
_loc2_.waiting = false;
_loc2_.index = _loc2_.index + 1;
}
count++;
var i = 0;
var maxTime = currentTime + _loc2_.interval;
while(i < _loc2_.maxLoops || maxTime > getTimer())
{
loops++;
i++;
var _loc1_ = _loc2_.list[_loc2_.index];
if(_loc1_ == null)
{
if(_loc2_.index == _loc2_.list.length)
{
_loc2_.end();
}
break;
}
if(_loc1_[0] == _loc2_.wait)
{
_loc2_.wait(_loc1_[1]);
}
var _loc3_ = _loc1_[0](_loc1_[1],_loc1_[2],_loc1_[3],_loc1_[4],_loc1_[5],_loc1_[6],_loc1_[7],_loc1_[8],_loc1_[9],_loc1_[10]);
if(!(_loc3_ || _loc3_ == null))
{
break;
}
_loc2_.index = _loc2_.index + 1;
if(_loc2_.index == _loc2_.list.length)
{
_loc2_.end();
updateAfterEvent();
return true;
}
}
updateAfterEvent();
return false;
};
_p.end = function()
{
var _loc1_ = this;
clearInterval(_loc1_.intervalID);
_loc1_.intervalID = null;
_loc1_.onFinish(_loc1_);
};
delete _p;
MovieClip.prototype.addTweenToStack = function(CS)
{
T = new TweenClass();
CS.append(T.start,T);
CS.append(T.update,T);
return t;
};
MovieClip.prototype.TweenClass = function()
{
this.list = [];
this.auto = false;
};
_p = TweenClass.prototype;
_p.createNewTween = function(mc)
{
var _loc2_ = this;
var _loc1_ = new _loc2_.TweenObject(_loc2_,mc);
_loc2_.list.push(_loc1_);
return _loc1_;
};
_p.start = function(oRef)
{
if(oRef != null)
{
return oRef.start();
}
var listEntry;
var mc;
var time;
this.lastTime = getTimer() * 0.001;
this.running = true;
};
_p.update = function(v0)
{
switch(typeof v0)
{
case "object":
return v0.update();
case "number":
var _loc2_ = v0;
break;
default:
this.lastTime = _loc0_ = getTimer() * 0.001;
_loc2_ = Math.min(- this.lastTime + _loc0_,0.1);
}
var _loc1_ = undefined;
var mc;
var _loc3_ = this.list.length - 1;
while(_loc3_ >= 0)
{
_loc1_ = this.list[_loc3_];
mc = _loc1_.target;
if(_loc1_.positionTween)
{
_loc1_.updatePosition(_loc2_);
}
if(_loc1_.scaleTween)
{
_loc1_.updateScale(_loc2_);
}
if(_loc1_.rotTween)
{
_loc1_.updateRotation(_loc2_);
}
if(_loc1_.colorTween)
{
_loc1_.updateColor(_loc2_);
}
if(_loc1_.offsetTween || _loc1_.percentTween)
{
_loc1_.updateTint(_loc2_);
}
if(_loc1_.alphaTween)
{
_loc1_.updateAlpha(_loc2_);
}
if(_loc1_.isDone())
{
this.list.splice(_loc3_,1);
}
_loc3_ = _loc3_ - 1;
}
if(this.list.length <= 0)
{
this.onDone();
return true;
}
return false;
};
_p.skip = function()
{
var _loc2_ = this;
trace("SKIP");
var _loc1_ = 0;
while(_loc1_ < _loc2_.list.length)
{
_loc2_.list[_loc1_].end();
_loc1_ = _loc1_ + 1;
}
_loc2_.update();
};
_p.TweenObject = function(oTween, mc)
{
this.tween = oTween;
this.target = mc;
};
_p.TweenObject.prototype.addPosition = function(fSec, iDestX, iDestY)
{
var _loc1_ = this;
var _loc2_ = arguments;
var _loc3_ = fSec;
_loc1_.positionTime = _loc3_;
_loc1_.positionTween = true;
switch(typeof _loc2_[3])
{
case "number":
var startX = _loc2_[3];
var startY = _loc2_[4];
_loc1_.onPositionDone = _loc2_[5];
break;
case "function":
default:
_loc1_.onPositionDone = _loc2_[3];
var startX = _loc1_.target._x;
var startY = _loc1_.target._y;
}
_loc1_.velX = (iDestX - startX) / _loc3_;
_loc1_.velY = (iDestY - startY) / _loc3_;
_loc1_.destX = iDestX;
_loc1_.destY = iDestY;
};
_p.TweenObject.prototype.updatePosition = function(fElapsed)
{
var _loc1_ = this;
var _loc3_ = fElapsed;
var _loc2_ = _loc1_.target;
_loc1_.positionTime -= _loc3_;
_loc1_.positionTween = _loc1_.positionTime > 0;
if(!_loc1_.positionTween)
{
_loc1_.onPositionDone();
_loc2_._x = _loc1_.destX;
_loc2_._y = _loc1_.destY;
}
else
{
_loc2_._x += _loc3_ * _loc1_.velX;
_loc2_._y += _loc3_ * _loc1_.velY;
}
};
_p.TweenObject.prototype.addScale = function(fSec, iScaleX, iScaleY, fnOnScaleDone)
{
var _loc1_ = this;
var _loc2_ = fSec;
var _loc3_ = iScaleX;
_loc1_.scaleTime = _loc2_;
_loc1_.scaleTween = true;
_loc1_.scaleX = (_loc3_ - _loc1_.target._xscale) / _loc2_;
_loc1_.scaleY = (_loc3_ - _loc1_.target._xscale) / _loc2_;
_loc1_.destScaleX = _loc3_;
_loc1_.destScaleY = iScaleY;
_loc1_.startScaleX = _loc1_.target._xscale;
_loc1_.startScaleY = _loc1_.target._yscale;
_loc1_.onScaleDone = fnOnScaleDone;
};
_p.TweenObject.prototype.updateScale = function(fElapsed)
{
var _loc1_ = this;
var _loc3_ = Math.min(fElapsed,_loc1_.scaleTime);
var _loc2_ = _loc1_.target;
_loc1_.scaleTime -= _loc3_;
_loc1_.scaleTween = _loc1_.scaleTime > 0;
if(!_loc1_.scaleTween)
{
_loc1_.onScaleDone();
_loc2_._xscale = _loc1_.destScaleX;
_loc2_._yscale = _loc1_.destScaleY;
}
else
{
_loc2_._xscale += _loc3_ * _loc1_.scaleX;
_loc2_._yscale += _loc3_ * _loc1_.scaleY;
}
};
_p.TweenObject.prototype.addRotation = function(fSec, iRot, fnOnRotDone)
{
var _loc1_ = this;
_loc1_.rotTime = fSec;
_loc1_.rotTween = true;
_loc1_.rot = (iRot - _loc1_.target._rotation) / fSec;
_loc1_.startRotation = _loc1_.target._rotation;
_loc1_.onRotDone = fnOnRotDone;
_loc1_.destRotation = iRot;
};
_p.TweenObject.prototype.updateRotation = function(fElapsed)
{
var _loc1_ = this;
var _loc3_ = Math.min(fElapsed,_loc1_.rotTime);
var _loc2_ = _loc1_.target;
_loc1_.rotTime -= _loc3_;
_loc1_.rotTween = _loc1_.rotTime > 0;
if(!_loc1_.rotTween)
{
_loc1_.onRotDone();
_loc2_._rotation = _loc1_.destRotation;
}
else
{
_loc2_._rotation += _loc3_ * _loc1_.rot;
}
};
_p.TweenObject.prototype.addAlpha = function(fSec, iAlpha, iStartAlpha, fnOnAlphaDone)
{
var _loc1_ = this;
_loc1_.alphaTime = fSec;
_loc1_.alphaTween = true;
_loc1_.startAlpha = iStartAlpha != null ? iStartAlpha : _loc1_.target._alpha;
_loc1_.alpha = (iAlpha - _loc1_.startAlpha) / fSec;
trace(_loc1_.alpha);
_loc1_.onAlphaDone = fnOnAlphaDone;
_loc1_.destAlpha = iAlpha;
};
_p.TweenObject.prototype.updateAlpha = function(fElapsed)
{
var _loc1_ = this;
var _loc2_ = Math.min(fElapsed,_loc1_.alphaTime);
var _loc3_ = _loc1_.target;
_loc1_.alphaTime -= _loc2_;
_loc1_.alphaTween = _loc1_.alphaTime > 0;
trace(_loc2_ * _loc1_.alpha);
if(!_loc1_.alphaTween)
{
_loc1_.onAlphaDone();
_loc3_._alpha = _loc1_.destAlpha;
}
else
{
_loc3_._alpha = int(_loc1_.startAlpha += _loc2_ * _loc1_.alpha);
}
};
_p.TweenObject.prototype.addColor = function(fSec, iStartColor, iEndColor)
{
var _loc1_ = this;
var _loc2_ = iStartColor;
_loc1_.colorTime = fSec;
_loc1_.colorTween = true;
if(_loc1_.target.colorObj != null)
{
_loc1_.colorObj = _loc1_.target.colorObj;
if(_loc2_ == null)
{
_loc2_ = _loc1_.colorObj.getRGB();
}
}
else
{
_loc1_.target.colorObj = _loc1_.colorObj = new Color(_loc1_.target);
}
_loc1_.colorObj.setRGB(_loc2_);
var iStartR = _loc1_.currentR = _loc2_ >> 16;
var iStartG = _loc1_.currentG = (_loc2_ >> 8) - (iStartR << 8);
var iStartB = _loc1_.currentB = (_loc2_ >> 0) - (iStartG << 8) - (iStartR << 16);
var _loc0_ = null;
var _loc3_ = _loc1_.destR = iEndColor >> 16;
var iEndG = _loc1_.destG = (iEndColor >> 8) - (_loc3_ << 8);
var iEndB = _loc1_.destB = (iEndColor >> 0) - (iEndG << 8) - (_loc3_ << 16);
_loc1_.colorR = (_loc3_ - iStartR) / fSec;
_loc1_.colorG = (iEndG - iStartG) / fSec;
_loc1_.colorB = (iEndB - iStartB) / fSec;
};
_p.TweenObject.prototype.updateColor = function(fElapsed)
{
var _loc1_ = this;
var _loc2_ = Math.min(fElapsed,_loc1_.colorTime);
var mc = _loc1_.target;
_loc1_.colorTime -= _loc2_;
_loc1_.colorTween = _loc1_.colorTime > 0;
if(!_loc1_.colorTween)
{
_loc1_.onColorDone();
_loc1_.currentR = _loc1_.destR;
_loc1_.currentG = _loc1_.destG;
_loc1_.currentB = _loc1_.destB;
}
else
{
_loc1_.currentR += _loc1_.colorR * _loc2_;
_loc1_.currentG += _loc1_.colorG * _loc2_;
_loc1_.currentB += _loc1_.colorB * _loc2_;
}
_loc1_.colorObj.setRGB(Math.round((_loc1_.currentR << 16) + (_loc1_.currentG << 8) + _loc1_.currentB));
};
_p.TweenObject.prototype.addOffsetTint = function(fSec, iStartR, iStartG, iStartB, iStartA, iEndR, iEndG, iEndB, iEndA, fnOnOffsetDone)
{
var _loc1_ = this;
var _loc3_ = fSec;
_loc1_.offsetTime = _loc3_;
_loc1_.offsetTween = true;
if(_loc1_.target.colorObj != null)
{
_loc1_.colorObj = _loc1_.target.colorObj;
}
else
{
_loc1_.target.colorObj = _loc1_.colorObj = new Color(_loc1_.target);
}
if(_loc1_.currentTint == null)
{
_loc1_.currentTint = _loc1_.colorObj.getTransform();
}
var _loc2_ = _loc1_.currentTint;
_loc2_.rb = iStartR == null ? _loc2_.rb : iStartR;
_loc2_.gb = iStartG == null ? _loc2_.gb : iStartG;
_loc2_.bb = iStartB == null ? _loc2_.bb : iStartB;
_loc2_.ab = iStartA == null ? _loc2_.ab : iStartA;
_loc1_.offsetR = (iEndR - iStartR) / _loc3_;
_loc1_.offsetG = (iEndG - iStartG) / _loc3_;
_loc1_.offsetB = (iEndB - iStartB) / _loc3_;
_loc1_.offsetA = (iEndA - iStartA) / _loc3_;
_loc1_.destOffsetR = iEndR;
_loc1_.destOffsetG = iEndG;
_loc1_.destOFfsetB = iEndB;
_loc1_.destOffsetA = iEndA;
_loc1_.onOffsetDone = fnOnOffsetDone;
};
_p.TweenObject.prototype.updateOffsetTint = function(fElapsed)
{
var _loc1_ = this;
var _loc3_ = Math.min(fElapsed,_loc1_.offsetTime);
var mc = _loc1_.target;
var _loc2_ = _loc1_.currentTint;
_loc1_.offsetTime -= _loc3_;
_loc1_.offsetTween = _loc1_.offsetTime > 0;
if(!_loc1_.offsetTween)
{
_loc1_.onOffsetDone();
_loc2_.rb = _loc1_.destOffsetR;
_loc2_.gb = _loc1_.destOffsetG;
_loc2_.bb = _loc1_.destOffsetB;
_loc2_.ab = _loc1_.destOffsetA;
}
else
{
_loc2_.rb += _loc1_.offsetR * _loc3_;
_loc2_.gb += _loc1_.offsetG * _loc3_;
_loc2_.bb += _loc1_.offsetB * _loc3_;
_loc2_.ab += _loc1_.offsetA * _loc3_;
}
};
_p.TweenObject.prototype.addPercentTint = function(fSec, iStartR, iStartG, iStartB, iStartA, iEndR, iEndG, iEndB, iEndA, fnOnPercentDone)
{
var _loc1_ = this;
var _loc3_ = fSec;
_loc1_.percentTime = _loc3_;
_loc1_.percentTween = true;
if(_loc1_.target.colorObj != null)
{
_loc1_.colorObj = _loc1_.target.colorObj;
}
else
{
_loc1_.target.colorObj = _loc1_.colorObj = new Color(_loc1_.target);
}
if(_loc1_.currentTint == null)
{
_loc1_.currentTint = _loc1_.colorObj.getTransform();
}
var _loc2_ = _loc1_.currentTint;
_loc2_.ra = iStartR == null ? _loc2_.ra : iStartR;
_loc2_.ga = iStartG == null ? _loc2_.ga : iStartG;
_loc2_.ba = iStartB == null ? _loc2_.ba : iStartB;
_loc2_.aa = iStartA == null ? _loc2_.aa : iStartA;
_loc1_.percentR = (iEndR - iStartR) / _loc3_;
_loc1_.percentG = (iEndG - iStartG) / _loc3_;
_loc1_.percentB = (iEndB - iStartB) / _loc3_;
_loc1_.percentA = (iEndA - iStartA) / _loc3_;
_loc1_.destPercentR = iEndR;
_loc1_.destPercentG = iEndG;
_loc1_.destPercentB = iEndB;
_loc1_.destPercentA = iEndA;
_loc1_.onPercentDone = fnOnPercentDone;
};
_p.TweenObject.prototype.updatePercentTint = function(fElapsed)
{
var _loc1_ = this;
var _loc3_ = Math.min(fElapsed,_loc1_.percentTime);
var mc = _loc1_.target;
var _loc2_ = _loc1_.currentTint;
_loc1_.percentTime -= _loc3_;
_loc1_.percentTween = _loc1_.percentTime > 0;
if(!_loc1_.percentTween)
{
_loc1_.onOffsetDone();
_loc2_.ra = _loc1_.destPercentR;
_loc2_.ga = _loc1_.destPercentG;
_loc2_.ba = _loc1_.destPercentB;
_loc2_.aa = _loc1_.destPercentA;
}
else
{
_loc2_.ra += _loc1_.percentR * _loc3_;
_loc2_.ga += _loc1_.percentG * _loc3_;
_loc2_.ba += _loc1_.percentB * _loc3_;
_loc2_.aa += _loc1_.percentA * _loc3_;
}
};
_p.TweenObject.prototype.updateTint = function(fElapsed)
{
var _loc1_ = this;
if(_loc1_.offsetTween)
{
_loc1_.updateOffsetTint(fElapsed);
}
if(_loc1_.percentTween)
{
_loc1_.updatePercentTint(fElapsed);
}
_loc1_.colorObj.setTransform(_loc1_.currentTint);
};
_p.TweenObject.prototype.isDone = function()
{
var _loc1_ = this;
var _loc0_ = !_loc1_.positionTween && !_loc1_.scaleTween && !_loc1_.rotTween && !_loc1_.alphaTween && !_loc1_.colorTween && !_loc1_.offsetTween && !_loc1_.percentTween;
_loc1_;
return _loc0_;
};
_p.TweenObject.prototype.end = function()
{
var _loc1_ = this;
_loc1_.positionTime = 0;
_loc1_.scaleTime = 0;
_loc1_.rotTime = 0;
_loc1_.alphaTime = 0;
_loc1_.colorTime = 0;
_loc1_.percentTime = 0;
_loc1_.offsetTime = 0;
};
delete _p;
MovieClip.prototype.setTimeout = function(fn, iMilli)
{
arguments.id = setInterval(____FLASHMX____onTimeout,iMilli,arguments);
};
MovieClip.prototype.____FLASHMX____onTimeout = function(a)
{
var _loc1_ = a;
_loc1_[0](_loc1_[2],_loc1_[3],_loc1_[4],_loc1_[5],_loc1_[6],_loc1_[7],_loc1_[8],_loc1_[9],_loc1_[10],_loc1_[11],_loc1_[12],_loc1_[13],_loc1_[14],_loc1_[15],_loc1_[16],_loc1_[17],_loc1_[18],_loc1_[19],_loc1_[20],_loc1_[21]);
clearInterval(_loc1_.id);
};
_level0.eventID = "dc_tsrmm_2657";
_level0.subject = "That\'s So Raven - Money Maze";
createEmptyMovieClip("DOGE",10000);
DOGE._x = DOGE._y = -500;
DOGE._visible = false;
DOGE.loadMovie(_level0.fsd);
btnCover._visible = false;
btnCover.useHandCursor = false;
fsdLoaderInt = setInterval(function()
{
DOGE._visible = false;
if(DOGE.getBytesLoaded() < 100 || DOGE.getBytesLoaded() < DOGE.getBytesTotal())
{
return null;
}
DOGE.unloadMovie();
DOGE._x = 97.5;
DOGE._y = 95;
_level0.DOGE = DOGE;
clearInterval(fsdLoaderInt);
}
,10);
_level0.gameRef = this;
_level0.fsdPlayAgain = function()
{
_level0.gameRef.DOGE._visible = false;
_level0.gameRef.btnCover._visible = false;
_level0.gameRef.gotoAndStop("game");
};